package com.taomu.app.zongchouhuli.moudle.index.contract;

import com.taomu.app.zongchouhuli.entity.BaseChangeResponse;
import com.taomu.app.zongchouhuli.entity.BaseResponse;
import com.taomu.app.zongchouhuli.framework.BasePresenter;
import com.taomu.app.zongchouhuli.framework.BaseView;
import com.taomu.app.zongchouhuli.http.res.ResImportNoticeEntity;
import com.taomu.app.zongchouhuli.http.res.ResLunBoEntity;
import com.taomu.app.zongchouhuli.http.res.ResMainProductListEntity;
import com.taomu.app.zongchouhuli.http.res.ResNoticeEntity;
import com.taomu.app.zongchouhuli.http.res.ResProductDetailEntity;
import com.taomu.app.zongchouhuli.http.res.ResProductEntity;
import com.taomu.app.zongchouhuli.http.res.ResUpdateInfoEntity;
import com.taomu.app.zongchouhuli.moudle.index.entity.BannerEntity;
import com.taomu.app.zongchouhuli.moudle.index.entity.NoticeEntity;
import com.taomu.app.zongchouhuli.moudle.index.entity.ProductEntity;

import java.util.List;

public class ProductContract {
    public interface Presenter extends BasePresenter {

        void getBannerInfo();

        void getNoticeList();

        void getNoticeContent(String id);

        void getNoticeInfo();

        void getHotInfo();

        void getLunboInfo();

        void getSuprmeInfo();

        void getImportInfo();

        void updateApp(String versioncode);

        void detch();
    }

    public interface View extends BaseView<Presenter> {

        void setBannerInfo(List<BannerEntity> entities);

        void setFillperInfo(List<NoticeEntity> entities);

        void setHotInfo(ResMainProductListEntity data);

        void setSuprmeInfo(ResMainProductListEntity data);

        void setNoticeList(ResNoticeEntity entity);

        void setNoticeContent(String data);

        void setLunboContent(ResLunBoEntity resProductEntities);

        void setImportNotice(ResImportNoticeEntity entity);

        void setUpdateApp(ResUpdateInfoEntity resProductEntities);
    }
}
